Azure Communication Room Service (stable:2025-03-13)

2025/03/05 • 7 new methods

Rooms_Create (new)
Description Creates a new room.
Reference Link ¶

⚼ Request

POST:  /rooms
{
api-version: string ,
Repeatability-Request-ID: string ,
Repeatability-First-Sent: string ,
createRoomRequest:
{
validFrom: string ,
validUntil: string ,
pstnDialOutEnabled: boolean ,
participants: object ,
}
,
}

⚐ Response (201)

{
id: string ,
createdAt: string ,
validFrom: string ,
validUntil: string ,
pstnDialOutEnabled: boolean ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
,
}
Rooms_List (new)
Description Retrieves all created rooms.
Reference Link ¶

⚼ Request

GET:  /rooms
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
createdAt: string ,
validFrom: string ,
validUntil: string ,
pstnDialOutEnabled: boolean ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
,
}
Rooms_Get (new)
Description Retrieves an existing room by id.
Reference Link ¶

⚼ Request

GET:  /rooms/{roomId}
{
roomId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
createdAt: string ,
validFrom: string ,
validUntil: string ,
pstnDialOutEnabled: boolean ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
,
}
Rooms_Update (new)
Description Update a room with given changes.
Reference Link ¶

⚼ Request

PATCH:  /rooms/{roomId}
{
roomId: string ,
api-version: string ,
updateRoomRequest:
{
validFrom: string ,
validUntil: string ,
pstnDialOutEnabled: boolean ,
}
,
}

⚐ Response (200)

{
id: string ,
createdAt: string ,
validFrom: string ,
validUntil: string ,
pstnDialOutEnabled: boolean ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
,
}
Rooms_Delete (new)
Description Delete a room.
Reference Link ¶

⚼ Request

DELETE:  /rooms/{roomId}
{
roomId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
,
}
Participants_List (new)
Description Get participants in a room.
Reference Link ¶

⚼ Request

GET:  /rooms/{roomId}/participants
{
roomId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
rawId: string ,
role: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
,
}
Participants_Update (new)
Description Update participants in a room.
Reference Link ¶

⚼ Request

PATCH:  /rooms/{roomId}/participants
{
roomId: string ,
api-version: string ,
updateParticipantsRequest:
{
participants: object ,
}
,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror: string ,
}
,
}
,
}